package cn.tedu.property_management_system.mapper;


import cn.tedu.property_management_system.entity.House;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface HouseMapper {

    List<House> searchSelect( String room);

    House getByRoom( String room);


    List<House> selectUserList();

    void insert(House house);

    House selectId(@Param("id") Integer id);


    void update(House house);


    void delete(@Param("id") int id);

    List<String> getRoom();




//    List<House> limit();
//
//    List<String> selectHouses();
}
